#include <iostream>

using std::cin;
using std::cout;
using std::endl;
using std::string;

int main()
{
	string combine;
	string str;
	while(cin >> str)
	{
		str += " ";
		combine += str;
	}

	cout << combine << endl;

	return 0;
}
